/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package models;

/**
 *
 * @author dennis
 */
public class AvatarMovable extends Movable {
    
    boolean isFinished;
    
    /**
     * Creates an Avatar and sets the graphic
     * @param xPos
     * @param yPos
     * @param isFinished 
     */
    public AvatarMovable(int xPos, int yPos, boolean isFinished){
        
        super(xPos, yPos);
        
        this.isFinished = isFinished;
        
        if(isFinished){
            this.setGraphicPath("../images/avatar_64.jpg");
        } else {
            this.setGraphicPath("../images/avatar_64.jpg");
        }
        
    }
    
    public AvatarMovable(AvatarMovable movable){
        super(movable);
        
        if(isFinished){
            //TODO: Avatar image on finshTile
            this.setGraphicPath("../images/avatar_64.jpg");
        } else {
            this.setGraphicPath("../images/avatar_64.jpg");
        }
    }
    
}
